package com.hwadee.ems.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import com.hwadee.ems.domain.po.Major;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MajorVO {

    public MajorVO(Major major) {
        this.id = major.getId();
        this.name = major.getName();
    }
    
    /**
     * 专业编号
     */
    private Long id;

    /**
     * 专业名称
     */
    private String name;

}
